package edu.zut.cs.network.sqlproject.teach.service;

import java.io.FileNotFoundException;
import java.io.IOException;
import java.sql.SQLException;

import edu.zut.cs.network.sqlproject.base.service.BaseManager;
import edu.zut.cs.network.sqlproject.teach.entity.Student;

public interface StudentManager extends BaseManager<Long, Student> {
	void load(String data_file) throws FileNotFoundException, ClassNotFoundException, IOException;// 将excel表中的内容加载到对象中，这个方法为什么会出现在这

	void create(Student student);//增
	void remove(String code);//删
	void update() throws SQLException;//改
	Student findByName(String name);//通过姓名查
	Student findById(Long id);//通过ID查（查有返回值我可以理解）
}
